import Vue from 'vue'
import VueRouter from 'vue-router'
import homeRoutes from './modules/homeRoutes'
import aboutRoutes from './modules/aboutRoutes'
Vue.use(VueRouter)

const routes = [
  ...homeRoutes,
  ...aboutRoutes
]

const router = new VueRouter({
  routes
})

// router.beforeEach((from, to, next) => {

// })

export default router
